package com.feizhoutuobang.shapeline.bo;

import java.util.ArrayList;
import java.util.List;

public class Section {

	private int id = 0;
	private String title = "";
	private String description = "";
	private Book book;
	private List<Paragraph> paragraphs = new ArrayList<Paragraph>();
	private String storePath = "";
	private String storeName = "";
	private Section previousSection = null;
	private Section nextSection = null;
	
	public Section(Book book) {
		this.book = book;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Book getBook() {
		return book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	public List<Paragraph> getParagraphs() {
		return paragraphs;
	}

	public void setParagraphs(List<Paragraph> paragraphs) {
		this.paragraphs = paragraphs;
	}

	public String getStorePath() {
		return storePath;
	}

	public void setStorePath(String storePath) {
		this.storePath = storePath;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public Section getPreviousSection() {
		return previousSection;
	}

	public void setPreviousSection(Section previousSection) {
		this.previousSection = previousSection;
	}

	public Section getNextSection() {
		return nextSection;
	}

	public void setNextSection(Section nextSection) {
		this.nextSection = nextSection;
	}
}
